package cn.demo.entity;

import java.util.Date;

/**
 * @Author weizhongli
 * @Date 2020/3/22
 * @Version v1.0
 * @Description   订单实体类
 */
public class Bill {
    private int id;//账单id
    private String billCode;//账单编码
    private String productName;//账单名称
    private String productDesc;//商品品牌
    private String productUnit;//商品单位
    private double productCount;//商品数量
    private double totalPrice;//商品价格
    private int isPayment;//是否支付
    private int providerId;//供应商id
    private Date creationDate;//创建时间
    private String paymentName;
    private String ctratedate;

    public String getCtratedate() {
        return ctratedate;
    }

    public void setCtratedate(String ctratedate) {
        this.ctratedate = ctratedate;
    }

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    private provider provider;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public double getProductCount() {
        return productCount;
    }

    public void setProductCount(double productCount) {
        this.productCount = productCount;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(int isPayment) {
        this.isPayment = isPayment;
    }

    public int getProviderId() {
        return providerId;
    }

    public void setProviderId(int providerId) {
        this.providerId = providerId;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public cn.demo.entity.provider getProvider() {
        return provider;
    }

    public void setProvider(cn.demo.entity.provider provider) {
        this.provider = provider;
    }
}
